//----------------------------------------------------------------------------
#ifndef PassWordH
#define PassWordH
//----------------------------------------------------------------------------
#include <vcl\Buttons.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\Classes.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Windows.hpp>
#include <vcl\System.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
//----------------------------------------------------------------------------
class TPasswordDlg : public TForm
{
__published:
	TLabel *Label1;
	TEdit *Password;
	TComboBox *cbUser;
	TLabel *Label2;
	TBitBtn *bitbOK;
	TBitBtn *bitbCancel;
	TImage *Image1;
	void __fastcall bitbCancelClick(TObject *Sender);
	void __fastcall bitbOKClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall cbUserKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
private:

public:
	String KodePass, Login, F_USER;
	int Role;
	virtual __fastcall TPasswordDlg(TComponent* AOwner);
	void __fastcall TPasswordDlg::PrepareFr(String Name);
	void __fastcall TPasswordDlg::PolKodOp();
};
//----------------------------------------------------------------------------
extern PACKAGE TPasswordDlg *PasswordDlg;
//----------------------------------------------------------------------------
#endif    
